import { eventHandler } from 'h3';

export default eventHandler((event) => {
  const { page, pageSize } = getQuery(event);

  return usePageResponseSuccess(
    page as string,
    pageSize as string,
    MOCK_CORPUS_LIST_DATA,
    {
      message: 'ok',
    },
  );
});
